package demo1;



public class Robot implements IRunning{
    static String names;
    static double date;
    public Robot(String names,double date) {
        this.names = names;
        this.date = date;

    }

    @Override
    public void run() {
        System.out.println(names + "正在跑");

    }
}
